#ifndef DIALOG_COMPASS_H
#define DIALOG_COMPASS_H

#include <QWidget>
#include "serialportdefine.h"
#include "serialportconfig.h"
#include "serialportctrl.h"

namespace Ui {
class Dialog_Compass;
}

class Dialog_Compass : public QWidget
{
    Q_OBJECT

public:
    explicit Dialog_Compass(QWidget *parent = nullptr);
    ~Dialog_Compass();

private slots:
    // 报文发送
    void on_compassSendBtn_clicked();
    // 报文内容限制长度
    void on_compassSendEdit_textChanged();

private:
    Ui::Dialog_Compass *ui;
    QVector<PSeriaPortInfo>	m_vecSerialInfo;
    QString strName;
};

#endif // DIALOG_COMPASS_H
